package com.lagou.domain;

/**
 * @program: spring_jdbcTemplate
 * @description:
 * @author: Mr.Wang
 * @create: 2020-12-17 09:32
 **/
public class Account {

	private Integer id;
	private String name;
	private Double money;

	public Account() {
	}

	public Account(Integer id, String name, Double money) {
		this.id = id;
		this.name = name;
		this.money = money;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	@Override
	public String toString() {
		return "Account{" +
				"id=" + id +
				", name='" + name + '\'' +
				", money=" + money +
				'}';
	}
}
